<?php
$GLOBALS['router']['cli'] = [
    //Redis队列
    'queue_test' => 'cli/queue/test', //测试生产消息
    'queue_brpop_all' => 'cli/queue/blockpopAll', //一次性阻塞出所有队列
    'queue_blockpop_([a-zA-Z0-9_]+)' => 'cli/queue/blockpop/queueKey/$1', //阻塞出单个队列
    'queue_restart_([a-zA-Z0-9_]+)' => 'cli/queue/restart/queueKey/$1', //重启出队列
    'queue_kill_([a-zA-Z0-9_]+)' => 'cli/queue/kill/queueKey/$1', //停掉出队列

    //db队列
    'cli_queue_db_consumer' => 'cli/queue_db/consumer', //队列消费程序
    'interface_consumer' => 'interface/consumer/handle', //异步消息接收处理

    //表结构信息
    'db_cache' => 'cli/db/make_cache_db',

    //路由缓存
    'router_cache' => 'cli/router/make_cache',
    
    //配置缓存
    'config_cache_([a-z]+)' => 'cli/config/make_cache/env/$1',
];
